package net.zjitc.domain;

import java.util.List;

/**
 * 2 * @Author: 洪瑶
 * 3 * @Date: 2018/10/29 16:55
 * 4
 */
public class Category {
    private int cid;
    private String cname;
    private List<CategorySecond> categorySeconds;

    public Category(List<CategorySecond> categorySeconds) {
        this.categorySeconds = categorySeconds;
    }

    public List<CategorySecond> getCategorySeconds() {
        return categorySeconds;
    }

    public void setCategorySeconds(List<CategorySecond> categorySeconds) {
        this.categorySeconds = categorySeconds;
    }

    public Category() {
    }

    public Category(int cid, String cname) {
        this.cid = cid;
        this.cname = cname;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }
}
